package com.sc.common.service.impl;

import com.sc.common.mapper.AdministratorMapper;
import com.sc.common.pojo.Administrator;
import com.sc.common.service.AdministratorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("as")
public class AdministratorServiceImpl implements AdministratorService {
    @Autowired
    AdministratorMapper mapper;

    @Override
    public Administrator selectByUsername(String username) {
        return mapper.selectByUsername(username);
    }
}
